<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <title>Kings Hockey <%= ": #{@title} " if @title %></title>
  <%= stylesheet_link_tag "screen", :media => "screen" %>
</head>

<body class="<%= controller.controller_name %>">
<div id="wrapper"> 
  <div id="logo">
  <%= link_to_unless_current(
        image_tag("header.jpeg", :alt => "Kings Hockey"), 
        :controller => "homepage") %>
  </div>

  <div id="nav">
    <ul>
     <!--> <li id="nav_home">
        <%= link_to "Home", :controller => "homepage" %>
      </li>-->
      <li id="nav_meetings">
        <%= link_to "Games", :controller => "games" %>
      </li>
      <li id="nav_users">
        <%= link_to "Practice", :controller => "practice" %>
      </li>
      <li id="nav_users">
        <%= link_to "Team", :controller => "team" %>
      </li>
    </ul>
   
  </div>

  <div id="content">
    <%= yield :layout %>
  </div>

  <div id="footer">&nbsp;</div>
</div>
</body>
</html>